package com.wanghua.mall.order.dao;

import com.wanghua.mall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * 
 * @author wanghua
 * @email 2367279431@qq.com
 * @date 2021-09-07 17:09:01
 */
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * 修改订单状态为已支付
     *
     * @param orderNo 订单号
     * @param code    已付款的美剧马
     */
    void updateOrderStatus(@Param("orderNo") String orderNo, @Param("code") Integer code);
}
